function saveFile(I, A, B, Phi, Delta, data_filepath, filename, algorithmsName, Area)
    F = length(Delta);
    save([data_filepath, filename,'-A',algorithmsName,'.mat'],'A');
    save([data_filepath, filename,'-B',algorithmsName,'.mat'],'B');
    save([data_filepath, filename,'-Phi',algorithmsName,'.mat'],'Phi');
    save([data_filepath, filename,'-Delta',algorithmsName,'.mat'],'Delta');
    for f = 1:F
        It = A+B.*cos(Phi+Delta(f));
        RMSE = fun_RMSE(It, I{f,1});
        save([data_filepath, filename,'-RMSE-',int2str(f),'.mat'],'RMSE');
    end
    % 包裹相位的RMSE
    actan_phi = load("stdPhi.mat");actan_phi = actan_phi.PHI_C2;
    RMSE_phi = fun_RMSE(actan_phi, Phi);
    save([data_filepath, filename,'-RMSE_phi',algorithmsName,'.mat'],'RMSE_phi');
    %标准的绝对相位导入
    standard_unwarpphase = load('.\64-unwarpphase.mat');standard_unwarpphase = standard_unwarpphase.phi_c2;
    %解相位
    MASK = ones(size(Phi));
    MASK(isnan(Phi)) = 0;
    unWarpPhase = GoldsteinUnwrap2D_r1(Phi, MASK);
    %保存绝对相位
    save([data_filepath, filename,'-unwarpphase',algorithmsName,'.mat'],'unWarpPhase');
    % 保存绝对相位的RMSE
    epslion = (unWarpPhase - standard_unwarpphase);
    unWarpPhase1 = unWarpPhase - mean(epslion(:),"omitnan");
    save([data_filepath, filename,'-unwarpphase_1',algorithmsName,'.mat'],'unWarpPhase1');
    RMSE_unwarpphase = fun_RMSE(unWarpPhase1, standard_unwarpphase);
    save([data_filepath, filename,'-RMSE_unwarpphase',algorithmsName,'.mat'],'RMSE_unwarpphase');

    %将绝对相位放置图像中，进行重建
    stdImg = nan(3648,5472);
    unWarpPhase1 = imgaussfilt(unWarpPhase1,[3 3]);
    stdImg(Area(1):Area(2),Area(3):Area(4)) = unWarpPhase1;
    ptCloud = Reconstruct(stdImg);
    str = [data_filepath,filename,'.ply'];
    pcwrite(ptCloud,str);
    fprintf('----------保存成功--------- \n');
end

